Stripe\StripeTaxForWooCommerce\WordPress\Hooks D

Total Complexity 145
Dependencies 27
Dependents 0
Total lines 1,310
Lines of code 845
Logical lines of code 395
Comment lines 275
Methods 41
Properties 6

Methods 41

Method Rating Maintainability Complexity Lines of code
action_calculate_totals()
C
31 22 108
filter_rest_prepare_shop_order_object()
B
43 17 50
action_woocommerce_order_status_changed()
A
46 11 37
action_woocommerce_checkout_create_order_tax_item()
A
47 10 36
calculate_cart_contents_taxes()
A
46 8 36
action_woocommerce_after_calculate_totals()
A
47 7 36
system_status_report()
A
44 6 51
action_admin_init()
S
55 7 18
add_actions()
S
38 1 106
add_collected_errors_to_response()
S
56 4 18
action_admin_enqueue_scripts()
S
43 2 46
can_init()
S
58 4 15
add_filters()
S
45 1 57
set_app_info()
S
62 4 11
action_woocommerce_product_options_tax()
S
52 3 22
action_woocommerce_order_partially_refunded()
S
56 3 17
handle_calculate_tax_error()
S
61 3 12
calculate_cart_line_item_taxes()
S
55 2 21
init()
S
56 2 19
admin_ajax()
S
59 1 20
filter_woocommerce_get_order_item_classname()
S
71 2 6
filter_woocommerce_rate_compound()
S
70 2 6
filter_woocommerce_rate_label()
S
69 2 6
filter_woocommerce_rate_code()
S
70 2 6
get_tax_transaction()
S
71 2 6
render_admin_notices()
S
71 2 6
action_add_meta_boxes()
S
66 1 11
action_woocommerce_order_fully_refunded()
S
76 1 4
action_admin_enqueue_styles()
S
68 1 8
filter_woocommerce_order_type_to_group()
S
77 1 4
filter_woocommerce_find_rates()
S
81 1 3
plugin_action_links()
S
68 1 6
is_woocommerce_activated()
S
80 1 3
action_init()
S
78 1 3
do_exit()
S
82 1 3
add_action_tax_exemptions()
S
70 1 6
action_woocommerce_after_product_object_save()
S
66 1 9
filter_add_stripe_tax_settings()
S
76 1 4
detect_error_reporting_collect()
S
80 1 3
admin_enqueue_scripts()
S
78 1 3
admin_enqueue_styles()
S
78 1 3